package lib.Base;

import java.io.Serializable;


public class Request implements Serializable{
	/** 
	 * The Request class defines which information a user wants to receive.
	 */
	private static final long serialVersionUID = 1L;
	
	private long Timestamp = 0; 		//current timestamp of the requested object(if it doesent exists 0)
	private String requestUser = ""; 	//own userid
	private String requestObject1 = ""; //which object is requestet
	private String requestObject2 = ""; //parameter(if requestObject1=profile then requestObject2="user id of the profile which is requested")
	
	public Request(long Timestamp, String requestUser, String requestObject1, String requestObject2) {
		this.Timestamp = Timestamp;
		this.requestUser = requestUser;
		this.requestObject1 = requestObject1;
		this.requestObject2 = requestObject2;
	}
	
	public long getTimestamp() {
		return Timestamp;
	}
	
	public String getRequestUser() {
		return requestUser;
	}
	
	public String getRequestObject1() {
		return requestObject1;
	}
	
	public String getRequestObject2() {
		return requestObject2;
	}
}